\documentclass{xdupgthesis}

\begin{document}
\XDUfrontmatter
\include{chapters/abstract}
\XDUmainmatter
\include{chapters/general}
\include{chapters/substance}
\include{chapters/edit}
\include{chapters/guide}
\begin{appendixes}
\include{chapters/figure}
\include{chapters/table}
\include{chapters/algorithm}
\include{chapters/reference}
\end{appendixes}
\XDUbackmatter
\include{chapters/thanks}
\include{chapters/resume}
\end{document}
